<template>
	<view class="">
		<view class="content-top flex-column">
			<image class="banner" src="../../static/order/hhr-banner.png" mode="widthFix"></image>
		</view>
		<view class="detal flex-row flex-content-between flex-item-center">
			<image src="../../static/order/left.png" mode="scaleToFill"></image>
			<view>合伙人专享</view>
			<image src="../../static/order/right.png" mode="scaleToFill"></image>
		</view>
		<view class="detal-end">
			<view v-for="item in detals" class="detal-end-txt flex-row">
				<view></view>
				<view>{{item}}</view>
			</view>
		</view>
		<mu-suspension bottom="38" left="30">
			<view class="foot flex-row flex-content-between">
				<view>￥1000</view>
				<view @tap="payOrder">立即购买</view>
			</view>
		</mu-suspension>
	</view>
</template>

<script>
	export default{
		data(){
			return {
				detals:[
					"购买合伙人资格，送10斤草香猪猪肉",
					"轻松赚取佣金"
				]
			}
		},
		methods:{
			//跳转到支付合伙人
			payOrder(){
				uni.navigateTo({
					url:'/pages/order/pay_order'
				})
			}
		}
	}
</script>

<style lang="scss">
	.foot{
		width: 690rpx;
		height: 98rpx;
		background: linear-gradient(283deg, #2E1503 0%, #5E4D41 100%);
		border-radius: 49rpx 49rpx 49rpx 49rpx;
		opacity: 1;
		line-height: 98rpx;
		>view:nth-child(1){
			font-size: 32rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color: #F9E3AD;
			margin-left: 57rpx;
		}
		>view:nth-child(2){
			width: 320rpx;
			height: 80rpx;
			background: #F9E3AD;
			border-radius: 45rpx 45rpx 45rpx 45rpx;
			opacity: 1;
			font-size: 30rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: #493526;
			text-align: center;
			line-height: 80rpx;
			margin-top: 9rpx;
			margin-right: 9rpx;
		}
	}
	.detal-end{
		margin-top: 80rpx;
		
	}
	.detal-end-txt{
			line-height: 40rpx;
			margin-bottom: 20rpx;
			>view:nth-child(1){
				width: 10rpx;
				height: 10rpx;
				background: #2E1503;
				opacity: 1;
				margin-top: 15rpx;
				margin-left: 47rpx;
			}
			>view:nth-child(2){
				font-size: 28rpx;
				font-family: PingFang SC-Regular, PingFang SC;
				font-weight: 400;
				color: #2E1503;
				margin-left: 20rpx;
			}
	}
	.detal{
		margin-top: 50rpx;
		margin-left: 134rpx;
		margin-right: 134rpx;
		>image:nth-child(1){
			width: 150rpx;
			height: 1rpx;
		}
		>view:nth-child(2){
			font-size: 30rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: #2E1503;
		}
		>image:nth-child(3){
			width: 150rpx;
			height: 1rpx;
		}
	}
	.banner{
		width: 690rpx;
	}
	.content-top{
		width: 690rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
		margin-top: 30rpx;
	}
</style>